package com.example.myapplication.net;


public class Common {

    public static final int Interface_success = 77;
    public static final int Interface_err = 78;

    //根地址
   // public static final String BaseUrl = "http://cl.trans.yindadianzi.com";
   // public static final String BaseUrl = "https://abcapi.yindadianzi.com";
    public static String DOWN_FACE_IMAGE;
    public static String LOGIN;
    public static String UPDATA_FACE_IMAGE;
    public static String UPDATA_FACE_ERR;
    //本地地址
    //public static final String BaseUrl = "http://192.168.0.21:8088";

    public static String BaseUrl;



    public static void initAddress(String baseUrl){
        BaseUrl = baseUrl;
        //人脸图片下载
        DOWN_FACE_IMAGE = BaseUrl + "/api/v1/global/download.image";
        //登录的地址
       // LOGIN = BaseUrl + "/api/v1/auth/login";
        LOGIN = BaseUrl + "/api/v1/auth/login.encrypt";
        //人脸上传
        UPDATA_FACE_IMAGE = BaseUrl + "/api/v1/global/upload.feature";
        //上传人脸库失败
        UPDATA_FACE_ERR = BaseUrl + "/api/v1/global/image.error.record";
    }






}
